package com.kly.user.db.entity;
import com.fqgj.common.entity.BaseEntity;
import java.util.Date;
/**
* User: linqu
* Date: 2023-10-30
* Time: 10:45:34.711
* TableDesc:IM会话联系表
*/
public class UserConversationEntity extends BaseEntity{
    /**
    *用户码
    */
    private String userCode;
    /**
    *好友用户码
    */
    private String userCodeFriend;
    /**
    *好友名称
    */
    private String userNameFriend;
    /**
    *chatter用户
    */
    private String chatterUserCode;
    /**
    *好友昵称或其在群组里的备注名
    */
    private String userNickNameFriend;
    /**
    *头像
    */
    private String userPortraitFriend;
    /**
    *会话类型：1-单聊会话, 2-群组会话, 3-超级群会话 3-聊天室会话, 4-系统会话
    */
    private Integer conversationType;
    /**
    *单聊时，会话ID 直接使用对方的用户ID, 在群组、聊天室、超级群中，为对应的群组、聊天室、超级群ID
    */
    private String targetId;
    /**
    *1-在线， 0-不在线
    */
    private Integer status;
    /**
    *1-禁言， 0-正常
    */
    private Integer blockStatus;
    /**
    *操作类型：1-喜欢 2-不喜欢
    */
    private Integer wlmType;
    /**
    *会话组
    */
    private String groupId;
    /**
    *是否置顶：1-是
    */
    private Integer toppingFlag;
    /**
    *用户操作：1-拉黑  2-取消拉黑 3-隐藏  4-举报
    */
    private Integer userOpType;
    /**
    *投诉原因，tag_lable_type=4时必填
    */
    private String reason;
    /**
    *是否为新增WLM: 0-否 1-是
    */
    private Integer newFlag;
    /**
    *最近一条消息发送时间
    */
    private Date latestTime;
    /**
    *最近一条消息
    */
    private String latestMsg;
    /**
    *最后一条消息时间戳
    */
    private String latestTimestamp;
    /**
    *进入私聊页面时间
    */
    private Date enterTime;
    /**
    *用户离开会话时间
    */
    private Date userLeaveTime;
    /**
    *离开私聊页面时间
    */
    private Date leaveTime;
    /**
    *会话ID
    */
    private String sessionId;
    /**
    *绑定model时间时间
    */
    private Date bindTime;


    public  String getUserCode(){
        return this.userCode;
    }

    public  UserConversationEntity setUserCode(String userCode){
        this.userCode = userCode;
        return this;
    }

    public  String getUserCodeFriend(){
        return this.userCodeFriend;
    }

    public  UserConversationEntity setUserCodeFriend(String userCodeFriend){
        this.userCodeFriend = userCodeFriend;
        return this;
    }

    public  String getUserNameFriend(){
        return this.userNameFriend;
    }

    public  UserConversationEntity setUserNameFriend(String userNameFriend){
        this.userNameFriend = userNameFriend;
        return this;
    }

    public  String getChatterUserCode(){
        return this.chatterUserCode;
    }

    public  UserConversationEntity setChatterUserCode(String chatterUserCode){
        this.chatterUserCode = chatterUserCode;
        return this;
    }

    public  String getUserNickNameFriend(){
        return this.userNickNameFriend;
    }

    public  UserConversationEntity setUserNickNameFriend(String userNickNameFriend){
        this.userNickNameFriend = userNickNameFriend;
        return this;
    }

    public  String getUserPortraitFriend(){
        return this.userPortraitFriend;
    }

    public  UserConversationEntity setUserPortraitFriend(String userPortraitFriend){
        this.userPortraitFriend = userPortraitFriend;
        return this;
    }

    public  Integer getConversationType(){
        return this.conversationType;
    }

    public  UserConversationEntity setConversationType(Integer conversationType){
        this.conversationType = conversationType;
        return this;
    }

    public  String getTargetId(){
        return this.targetId;
    }

    public  UserConversationEntity setTargetId(String targetId){
        this.targetId = targetId;
        return this;
    }

    public  Integer getStatus(){
        return this.status;
    }

    public  UserConversationEntity setStatus(Integer status){
        this.status = status;
        return this;
    }

    public  Integer getBlockStatus(){
        return this.blockStatus;
    }

    public  UserConversationEntity setBlockStatus(Integer blockStatus){
        this.blockStatus = blockStatus;
        return this;
    }

    public  Integer getWlmType(){
        return this.wlmType;
    }

    public  UserConversationEntity setWlmType(Integer wlmType){
        this.wlmType = wlmType;
        return this;
    }

    public  String getGroupId(){
        return this.groupId;
    }

    public  UserConversationEntity setGroupId(String groupId){
        this.groupId = groupId;
        return this;
    }

    public  Integer getToppingFlag(){
        return this.toppingFlag;
    }

    public  UserConversationEntity setToppingFlag(Integer toppingFlag){
        this.toppingFlag = toppingFlag;
        return this;
    }

    public  Integer getUserOpType(){
        return this.userOpType;
    }

    public  UserConversationEntity setUserOpType(Integer userOpType){
        this.userOpType = userOpType;
        return this;
    }

    public  String getReason(){
        return this.reason;
    }

    public  UserConversationEntity setReason(String reason){
        this.reason = reason;
        return this;
    }

    public  Integer getNewFlag(){
        return this.newFlag;
    }

    public  UserConversationEntity setNewFlag(Integer newFlag){
        this.newFlag = newFlag;
        return this;
    }

    public  Date getLatestTime(){
        return this.latestTime;
    }

    public  UserConversationEntity setLatestTime(Date latestTime){
        this.latestTime = latestTime;
        return this;
    }

    public  String getLatestMsg(){
        return this.latestMsg;
    }

    public  UserConversationEntity setLatestMsg(String latestMsg){
        this.latestMsg = latestMsg;
        return this;
    }

    public  String getLatestTimestamp(){
        return this.latestTimestamp;
    }

    public  UserConversationEntity setLatestTimestamp(String latestTimestamp){
        this.latestTimestamp = latestTimestamp;
        return this;
    }

    public  Date getEnterTime(){
        return this.enterTime;
    }

    public  UserConversationEntity setEnterTime(Date enterTime){
        this.enterTime = enterTime;
        return this;
    }

    public  Date getUserLeaveTime(){
        return this.userLeaveTime;
    }

    public  UserConversationEntity setUserLeaveTime(Date userLeaveTime){
        this.userLeaveTime = userLeaveTime;
        return this;
    }

    public  Date getLeaveTime(){
        return this.leaveTime;
    }

    public  UserConversationEntity setLeaveTime(Date leaveTime){
        this.leaveTime = leaveTime;
        return this;
    }

    public  String getSessionId(){
        return this.sessionId;
    }

    public  UserConversationEntity setSessionId(String sessionId){
        this.sessionId = sessionId;
        return this;
    }

    public  Date getBindTime(){
        return this.bindTime;
    }

    public  UserConversationEntity setBindTime(Date bindTime){
        this.bindTime = bindTime;
        return this;
    }
}
